﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Site_Admin.master" AutoEventWireup="true" CodeFile="Chitietlienhe.aspx.cs" Inherits="Admin_Chitietlienhe" %>

<%@ Register src="../Controls/admin/ucLeftmenu_lh.ascx" tagname="ucLeftmenu_lh" tagprefix="uc1" %>
<%@ Register src="../Controls/admin/ucMenu_lh.ascx" tagname="ucMenu_lh" tagprefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Menu" Runat="Server">
    <uc2:ucMenu_lh ID="ucMenu_lh1" runat="server" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="CP_left_menu" Runat="Server">
    <uc1:ucLeftmenu_lh ID="ucLeftmenu_lh1" runat="server" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ad_main" Runat="Server">
    <div class="breadcrumb">
    <a href="trangchu.aspx">Trang chủ</a>
    <asp:Label ID="lblActive_breadcrumb" CssClass="active_breadcrumb" runat="server" />
</div>
<div class="nav_tabs">
    <ul>
        <li class="active_tabs">
            <asp:HyperLink ID="hlkActive_tabs" runat="server"
                Text="Nội Dung Liên Hệ">
            </asp:HyperLink>
        </li>
    </ul>
    <div class="tab_description">
        <asp:Label ID="lblTab_description" Text="Ở đây bạn sẽ thấy được nội dung chi tiết liên hệ từ khách viếng thăm. Bạn cần xử lý." runat="server" />
    </div>
</div>
<div class="border_wrapper">
       <div class="title">Nội dung chi tiết liên hệ (<asp:Literal ID="lTitle" runat="server" />)</div>
            <asp:Repeater ID="rptChitietLH" runat="server" EnableTheming="True">
                <ItemTemplate>
                    <table class="general" cellspacing="0" width="100%">        
                        <tbody>
                            <tr>
                                <td>
                                    <label>ID</label>
                                    <div class="inputs">
                                        <asp:TextBox ID="txtid" Text='<%# Eval("id") %>' CssClass="select" Enabled="false" runat="server" />
                                    </div>
                                </td>
                            </tr> 
                            <tr class="table-row">
                                <td>
                                    <label>Họ tên khách hàng</label>
                                    <div class="inputs">
                                        <asp:TextBox ID="TextBox2" Text='<%# Eval("name") %>' CssClass="select" Enabled="false" runat="server" />
                                    </div>
                                </td>
                            </tr>
                            <%--<tr>
                                <td>
                                    <label>Địa Chỉ</label>
                                    <div class="inputs">
                                        <asp:TextBox ID="TextBox4" Text='<%# Eval("Address") %>' CssClass="input_text" Enabled="false" runat="server" />
                                    </div>
                                </td>
                            </tr>--%>
                            <tr class="table-row">
                                <td>
                                    <label>Số điện thoại khách hàng</label>
                                    <div class="inputs">
                                        <asp:TextBox ID="TextBox7" Text='<%# Eval("phone") %>' CssClass="select" Enabled="false" runat="server" />
                                    </div>
                                </td>
                            </tr>  
                            <tr>
                                <td>
                                    <label>Email khách hàng</label>
                                    <div class="inputs">
                                        <asp:TextBox ID="TextBox1" Text='<%# Eval("email") %>' CssClass="select" Enabled="false" runat="server" />
                                    </div>
                                </td>
                            </tr>
                            <tr class="table-row">
                                <td>
                                    <label>Tiêu đề</label>
                                    <div class="inputs">
                                        <asp:TextBox ID="TextBox3" Text='<%# Eval("title") %>' CssClass="select" Enabled="false" runat="server" />
                                    </div>
                                </td>
                            </tr>   
                            <tr>
                                <td>
                                    <label>Nội Dung</label>
                                    <div class="inputs">
                                        <asp:TextBox ID="TextBox5" Text='<%# Eval("contents") %>' CssClass="chitiet" Rows="10" cols="70" Enabled="false" TextMode="MultiLine" BackColor="White" runat="server" />
                                    </div>
                                </td>
                            </tr>                          
                        </tbody>
                    </table>
            </ItemTemplate>
        </asp:Repeater>
</div> 

<asp:Panel ID="pnButton" runat="server">
    <div class="button_wrapper" >
        <asp:Button ID="btnDuyetLH" Text="Duyệt" 
            CssClass="submit_button button_lhh" runat="server" 
            onclick="btnDuyetLH_Click"/>
    </div>
</asp:Panel>
</asp:Content>

